package com.dem.android.ui;



import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.dem.android.R;
import com.dem.android.model.DemsType;
import com.dem.android.util.Config;

public class HomeActivity extends GAActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.home);

	}

	public void openRuDem(View view) {
		Intent intent = new Intent(this, ListDemsRuActivity.class);
		intent.putExtra(Config.DEM_TYPE, DemsType.RU.getType());
		startActivity(intent);
	}

	public void openUsDem(View view) {
		Intent intent = new Intent(this, ListDemsRuActivity.class);
		intent.putExtra(Config.DEM_TYPE, DemsType.US.getType());
		startActivity(intent);
	}
	

}
